package com.example.demo.moduel.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "t_user")
@Data
public class User implements Serializable {

       @Id
       private Long id;
       @Column(name = "user_name")
       private String userName;
       @Column
       private String password;
}
